function checkSerach(){
var productname = document.getElementById("title").value;
	if(productname == null || productname == ""){
		
		alert('请输入商品名称');
		return false;
	}	
	else{
		if(productname.replace(/\s/g,"") == ""){
			window.location.href = "menu.do?method=MenuShow";
			return false;
		}else{
			return true;
		}	
	}
}